using net_work.Data.Enum.Hmw;

namespace net_work.Data.DTO.Hmw;

public class HomeworkAddRequest
{
    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
    
    /// <summary>
    /// 作业标题
    /// </summary>
    public required string Title { get; set; }

    /// <summary>
    /// 作业描述
    /// </summary>
    public required string Description { get; set; }

    /// <summary>
    /// 作业开始时间
    /// </summary>
    public required DateTime BeginTime { get; set; }

    /// <summary>
    /// 作业截止时间
    /// </summary>
    public required DateTime Deadline { get; set; }

    /// <summary>
    /// 是否允许多次提交
    /// </summary>
    public required AllowMultipleSubmissions AllowMultiple { get; set; }

    /// <summary>
    /// 教学ID（外键）
    /// </summary>
    public required long TeachId { get; set; }
}